package com.kjsb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class Unit {
    //单位id
    @TableId(type = IdType.AUTO)
    private Integer unitid;
    //登录用户id
    private Integer uid;
    //单位名称
    private String unitname;
    //单位地址
    private String address;
    //单位法人
    private String corporation;
    //单位资产
    private String investment;
    //单位性质
    private String type;
    //单位电话
    private String tel;
    //单位邮箱
    private String email;
    //单位传真
    private String fax;
    //单位邮编
    private String zipcode;
    //单位介绍
    private String introduction;

    public Integer getUnitid() {
        return unitid;
    }

    public void setUnitid(Integer unitid) {
        this.unitid = unitid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUnitname() {
        return unitname;
    }

    public void setUnitname(String unitname) {
        this.unitname = unitname;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCorporation() {
        return corporation;
    }

    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    public String getInvestment() {
        return investment;
    }

    public void setInvestment(String investment) {
        this.investment = investment;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    @Override
    public String toString() {
        return "Unit{" +
                "unitid=" + unitid +
                ", uid=" + uid +
                ", unitname='" + unitname + '\'' +
                ", address='" + address + '\'' +
                ", corporation='" + corporation + '\'' +
                ", investment='" + investment + '\'' +
                ", type='" + type + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", fax='" + fax + '\'' +
                ", zipcode='" + zipcode + '\'' +
                ", introduction='" + introduction + '\'' +
                '}';
    }
}
